import 'dart:convert';

import 'ClassifyBeanEntity.dart';
import 'NewsEntity.dart';
import 'VideoEntity.dart';


class ClassifyEvaluateBeanEntity {
  List<TypeList>? typeList;
  List<ListNewsElement>? articles;

  ClassifyEvaluateBeanEntity({
    required this.typeList,
    required this.articles,
  });

  factory ClassifyEvaluateBeanEntity.fromJson(Map<String, dynamic> json) => ClassifyEvaluateBeanEntity(
    typeList: List<TypeList>.from(json["type_list"].map((x) => TypeList.fromJson(x))),
    articles: List<ListNewsElement>.from(json["articles"].map((x) => ListNewsElement.fromJson(x))),
  );
}
